#include <iostream>
using namespace std;

int main()
{
    //比较运算符
    // ==
    int num1 = 10;
    int num2 = 20;
    cout << (num1 == num2) << endl;

    // !=
    cout << (num1 != num2) << endl;

    // >
    cout << (num1 > num2) << endl;

    // <
    cout << (num1 < num2) << endl;

    // >=
    cout << (num1 >= num2) << endl;

    // <=
    cout << (num1 <= num2) << endl;

    return 0;
}